#ifndef ACCUMULATOR_MIN_H
#define ACCUMULATOR_MIN_H

#include "Accumulator.h"

class Accumulator_Min : public Accumulator {
public:
    Accumulator_Min() { reset(); }
    void accumulate(double newValue) {
        if (newValue < value) value = newValue;
        count++;
    }
};

#endif
